package cn.idongjia.kuaidi.service;

import cn.idongjia.kuaidi.pojos.Response;
import cn.idongjia.tianji.pojos.ShipCompany;
import cn.idongjia.tianji.pojos.Shipment;
import cn.idongjia.tianji.query.ShipSearch;

/**
 * Created by dongjia_lj on 16/4/12.
 */
public interface ShipService {
    Response add(Shipment shipment);

    Response update(String id,Shipment shipment);

    Response getShipment(String id);

    Response getAll(ShipSearch shipSearch);

    Response getCount(ShipSearch search);

    Response delete(String cid);

    Response addCompany(ShipCompany shipCompany);

    Response deleteCompany(Long id);

    Response getCompanies(ShipSearch shipSearch);

}
